home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / mail / mh / contrib / queuemh / queuemh-scripts / pland / README < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  47 lines

  1.  
  2. The files here implement a dynamic queuemh queue status without the
  3. end-user having to know anything about MH or even have a .mh_profile.
  4.  
  5.  
  6. How it works:
  7.  
  8. The end user runs a script called "status".  That script simply
  9. fingers the queuemh user (troubmh@cs.colorado.edu if you want
  10. an example).  The .plan file for the queuemh user is a fifo.
  11. A daemon on your queuemh user home system watches the fifo
  12. and executes a local status command when it is opened.
  13.  
  14. This is real generic stuff and can be used for any user and
  15. in fact the original pland is intended for general users.
  16.  
  17.  
  18. Files:
  19.  
  20. pland.c        source code for the pland daemon which watches fifo
  21. pland.sun4    sun4 binary of pland.c
  22. rc.pland    script to be run at boot time to start pland
  23. status.server    script executed by pland
  24. status.client    script executed by user
  25.  
  26.  
  27. Installation:
  28.  
  29. Install pland and status.server in either ~quser, /usr/local/etc,
  30. or some other appropriate place.
  31.  
  32. Put rc.pland wherever you want and modify one of your rc files
  33. to execute it at boot time.  Modify rc.plans for the correct
  34. paths to pland, the status server program, and the .plan file
  35. to watch.
  36.  
  37. Don't worry about the .plan fifo, pland creates it.
  38.  
  39. Install status.client in /usr/local/bin or somewhere else readily
  40. accessible to users.
  41.  
  42.  
  43. Barbara J. Dyker                       Department of Computer Science
  44. Computer Systems Manager               Campus Box 430B, ECEE00-69
  45. barb@cs.colorado.edu                   University of Colorado
  46. (303) 492-2545                         Boulder, CO  80309-0430
  47.